package com.fyzk.bean;

/**
 * Created by miao on 16/8/30.
 */

public class LotteryLayoutItem implements Comparable<LotteryLayoutItem>{

    private int lotteryType;
    private String lotteryTypeName;
    private int display;
    private int orderby;
    private String description;
    private int todayOpen;
    private int addPrize;
    private int inSale;
    private int logoRes;

    public int getLotteryType() {
        return lotteryType;
    }

    public void setLotteryType(int lotteryType) {
        this.lotteryType = lotteryType;
    }

    public String getLotteryTypeName() {
        return lotteryTypeName;
    }

    public void setLotteryTypeName(String lotteryTypeName) {
        this.lotteryTypeName = lotteryTypeName;
    }

    public int getDisplay() {
        return display;
    }

    public void setDisplay(int display) {
        this.display = display;
    }

    public int getOrderby() {
        return orderby;
    }

    public void setOrderby(int orderby) {
        this.orderby = orderby;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getTodayOpen() {
        return todayOpen;
    }

    public void setTodayOpen(int todayOpen) {
        this.todayOpen = todayOpen;
    }

    public int getAddPrize() {
        return addPrize;
    }

    public void setAddPrize(int addPrize) {
        this.addPrize = addPrize;
    }

    public int getInSale() {
        return inSale;
    }

    public void setInSale(int inSale) {
        this.inSale = inSale;
    }

    public int getLogoRes() {
        return logoRes;
    }

    public void setLogoRes(int logoRes) {
        this.logoRes = logoRes;
    }

    @Override
    public int compareTo(LotteryLayoutItem o) {
        return Integer.compare(this.getOrderby(),o.getOrderby());
    }
}
